package com.abc.cloud.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 聊天成员表
 * 
 * @author LiJunXi
 * @email 2770063826@qq.com
 * @date 2023-11-29 13:17:40
 */
@Data
@TableName("tb_chat_user")
@ApiModel(value = "聊天成员表对象", description = "聊天成员表")
public class ChatUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 聊天ID
	 */
	@TableId
	@ApiModelProperty(value = "聊天ID")
    private Long chatId;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
    private Long userId;
	/**
	 * 未读消息数
	 */
	@ApiModelProperty(value = "未读消息数")
	private Integer unreadCount;
}
